package com.example.login.Pojo;

import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
public class Seller {
    int id;
    String username;
    String file;
    String password;
    String store_name;
    String store_file;
    int grade;
    public Seller(int id,String username,String file,String password,String storename,
                  String store_file,int grade)
    {
        this.id=id;
        this.username=username;
        this.file=file;
        this.password=password;
        this.store_name=storename;
        this.store_file=store_file;
        this.grade=grade;
    }
    public Seller(int id,String username,String file)
    {
        this.id=id;
        this.username=username;
        this.file=file;
        this.password=null;
        this.store_name=null;
        this.store_file=null;
        this.grade=0;
    }


}
